package com.wx.mapper;

import com.wx.entity.Address;
import java.util.List;

public interface AddressMapper {
    int deleteByPrimaryKey(String id);

    int insert(Address record);

    Address selectByPrimaryKey(String id);

    List<Address> selectAll();
    
    List<Address> selectIdWithName();
    
    List<Address> selectAllByLevel(Integer level);
    
    List<Address> selectAllByPid(String pid);

    int updateByPrimaryKey(Address record);
}